using Wips.AppService.Authorities.Organizations.ViewModels;

namespace Wips.AppService.Authorities.Organizations.Responses
{
    /// <summary>
    /// 读取组织架构树形数据响应类
    /// </summary>
    public class GetOrganizationTreeDataResponse : OrganizationViewModel
    {
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime Created { get; set; }

        /// <summary>
        /// 最后更新时间
        /// </summary>
        public DateTime? Updated { get; set; }

        /// <summary>
        /// 子项
        /// </summary>
        public IList<GetOrganizationTreeDataResponse> Children { get; set; }
    }
}